﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Right.aspx.cs" Inherits="tempalette_Right" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>工作台</title>
    <link href="../css/StyleSheet.css" rel="stylesheet" type="text/css" />
   <link href="../Includes/index.css" type="text/css" rel="stylesheet" />
    <link href="../Includes/MasterPage.css" type="text/css" rel="stylesheet" />
    <link href="../Includes/xtree.css" type="text/css" rel="stylesheet" />
    <link href="../css/MyCss.css" type="text/css" rel="stylesheet" />
    <link href="../css/Style.css" rel="stylesheet" type="text/css" />
   
    <style type="text/css">
        .style2
        {
            color: #3666AA;
            font-weight: bold;
            background-color: #F7F7F7;
            text-align: right;
        }
    </style>
   
</head>
<script src="../js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<script src="../Includes/jquery-1.4.1.js" type="text/javascript"></script>
<script src="../Includes/MyJScript.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">

    $(document).ready(function() {
        
        $("a").click(function() {
            parent.PE_FrameTab.AddNew();
            //            window.open('ApprovalFlow.aspx?aprvlno=' + $(this).text(), 'main_right');
            parent.$("#main_right").attr("src", 'CostsManagement/costsApplyOrder.aspx?sysno=' + $(this).text());
        });

    });
    //错误提示
    function chkLogin() {
        alert("错误：未检测到登录信息，请进行登录！");
        window.navigate("../Login.aspx");
    }
  
</script>
<body style="background-image:url(../image/center.JPG); ">
    <form id="right" runat="server">
    <%--<img src="../image/center.JPG" width="100%"/>--%>
    <table style="width: 80%; height:300px;table-layout:fixed;word-break:break-all">
        <tr>
        <td class="style2">代办事项</td>
        <td class="style2">
            <asp:Button ID="btnApprovRe" runat="server" Text="刷新" CssClass="inputbutton" 
                onclick="btnApprovRe_Click"/>
            </td>
        <td class="style2">预警信息</td>
        <td class="style2">
            <asp:Button ID="btnWarningRe" runat="server" Text="刷新" CssClass="inputbutton"/>
            </td>
        </tr>
        <tr>
            <td style="background-color:#F7F7F7; height:99%; width:50%" align="left" 
                valign="top" colspan="2">
                <asp:GridView ID="approvGridView" runat="server" AutoGenerateColumns="False" BackColor="White" Width="100%">
                    <Columns>
                        <asp:BoundField HeaderText="单据类型" DataField="opname" />
                        <asp:HyperLinkField DataTextField="billno" HeaderText="单据号" />
                        <asp:BoundField HeaderText="金额" DataField="money" />
                        <asp:BoundField HeaderText="申请人" DataField="sendpsnname" />
                        <asp:BoundField DataField="status" HeaderText="当前状态" />
                    </Columns>
                </asp:GridView>
            </td>
            <td  style="background-color:#F7F7F7; height:99%"  align="left" valign="top" 
                colspan="2">
                <asp:GridView ID="warningGridView" runat="server" AutoGenerateColumns="False" BackColor="White" Width="100%">
                </asp:GridView>
            
    
            </td>
        </tr>
        </table>
    
    </form>
</body>
</html>
